﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RbacPermissionManage.Application.Admins.Dto
{
    public enum LoginEnum
    {
        [Description("无此用户")]
        NoAccount,
        [Description("密码错误")]
        PasswordError,
        [Description("登录成功")]
        Success,
        [Description("登录失败")]
        Failed
    }

    public class LoginResultDto
    {
        public LoginEnum Code { get; set; }
        public string Message { get; set; }
    }
}
